package com.ruiyian.bridge.project.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2021/10/26
 * Desc: 数据分析
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DataAnalysisDto implements Serializable {
    // 日期范围
    private String startTime;
    private String endTime;

    private String pkstartTime;
    private String pkendTime;
    // 传感器类型
    private Integer shebeiType1;
    private Integer shebeiType2;
    // 监测项
    private String item1;
    private String item2;
    // 测点
    private String addr1;
    private String addr2;
    private String sensorNo1;
    private String sensorNo2;
    //    setTypeList: [{value:0,label:'原始值'},{value:1,label:'10min均值'},{value:2,label:'时均值'},{value:3,label:'日均值'}]
    private Integer type;

    private List<String> sensorNo;

    private List<String> list;

    private Long bridgeId;

    public DataAnalysisDto(String startTime, String endTime, String sensorNo1){
        this.startTime =startTime;
        this.endTime =endTime;
        this.sensorNo1 =sensorNo1;
    }
    public DataAnalysisDto(String sensorNo1){

        this.sensorNo1 =sensorNo1;
    }

    public DataAnalysisDto(Integer shebeiType1, Long bridgeId) {
        this.shebeiType1 = shebeiType1;
        this.bridgeId = bridgeId;
    }

    public DataAnalysisDto(Integer shebeiType1, String startTime) {
        this.shebeiType1 = shebeiType1;
        this.startTime = startTime;
    }
}
